package org.jeecg.modules.flow.service.impl.api;

import org.jeecg.common.wmhb.api.IWmhbAPI;
import org.jeecg.modules.flow.service.IWmPurchaseRequisitionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class IWmhbServiceImpl implements IWmhbAPI {

    @Autowired
    private IWmPurchaseRequisitionService wmPurchaseRequisitionService;

    /**
     * 采购申请审核后续处理
     */
    @Override
    public void purchaseRequisitionPostProcess(String wmPurchaseRequisitionId, String actStatus){
        wmPurchaseRequisitionService.modifyRequisitionStatus(wmPurchaseRequisitionId, actStatus);
    };
}
